﻿using HPIT.RentHouse.Common;
using HPIT.RentHouse.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HPIT.RentHouse.IService
{
    public interface IRoldService:IServiceSupport
    {
        List<RoldDTO> GetList();
        RoIeEditDTO Get(long id);
        List<RoldDTO> GetPagedList(int start, int length, string name, ref int count);
        AjaxResult Add(RoIeEditDTO dto);
        AjaxResult Update(RoldDTO roldDTO);
        AjaxResult Delete(long id);
        AjaxResult DeleteBatch(List<long> ids);
    }
}
